<div style="margin: 15px 0px 0px 15px">
	<h3>Cập nhật slideshow</h3><hr />
	<div style="margin-top: 30px;  margin-left: 60px;">
	<div style="background: yellow;">
		<?php echo validation_errors();?>	
	</div>
		<?php $attrs = array('class'=>'frm_add_slideshow', 'id'=>'frm_add_slideshow')?>
		<?php echo form_open_multipart(base_url().'index.php/slideshow/update/'. $id, $attrs)?>
		<table cellpadding="10" >
			<tr>
				<td><?php echo form_label('Hiện tại')?></td>
				<td>
					<img src="<?php echo base_url().$image ?>" /> 
				</td>
			</tr>
			<tr>
				<td><?php echo form_label('Thay ảnh khác')?></td>
				<td>
					<input type="file" name="image" /> 
				</td>
			</tr>
			<tr>
				<td><?php echo form_label('Đường dẫn')?></td>
				<td><input size="100" type = "text" name = "link" value="<?php echo $link ?>" />
			</tr>
			<tr>
				<td><?php echo form_label('Trạng thái')?></td>
				<td>
					<?php $status = array('Ẩn'=>'Ẩn', 'Hiện'=>'Hiện');?>
					<?php echo form_dropdown('status',$status)?>
			</tr>
			<tr>
				<td></td>
				<td>
					<?php echo form_submit(array('name'=>'submit','value'=>'Cập nhật'))?>
				</td>
			</tr>
		</table>
	</form>
	</div>
</div>